# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Haelwenn (lanodan) Monnier <contact+alpine@hacktivis.me>
pkgname=netifrc
pkgver=0.7.3
pkgrel=1
pkgdesc="Gentoo Network Interface Management Scripts"
url="https://gitweb.gentoo.org/proj/netifrc.git/"
arch="noarch"
license="BSD-2"
depends="udev"
makedepends="eudev-dev"
subpackages="$pkgname-openrc $pkgname-doc"
source="https://gitweb.gentoo.org/proj/netifrc.git/snapshot/netifrc-$pkgver.tar.gz"

build() {
	make all
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr SYSCONFDIR=/etc install
}

check() {
	make check
}

sha512sums="
a82ac6835c15763becb5845a8c8d90dfd8d6c289ea5e00b0d7ae332d3e7ad6797f0fdcbf27bb9f44ff345c98884cdfa13210c76089585b8dd9970ded5f6236d8  netifrc-0.7.3.tar.gz
"
